//
// Created by Administrator on 2022/10/30.
//
// 100:5,80-99:4,79-60:3
#include <iostream>
using namespace std;

int main()
{
    int f;
    scanf("%d",&f);
    f=f>100?100:f;
    if (f==100)
    {
        printf("5");
    }
    else if (f<=99 and f>=80)
    {
        printf("4");
    }
    else if (f<=79 and f>=60)
    {
        printf("3");
    } else
    {
        printf("0");
    }
    return 0;
}